﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace QBZ.Evaluation.Repositories.DataAccess
{
    [Table("tb_roleSkill")]
    public partial class TbRoleSkill
    {
        [Key]
        public int RoleSkillId { get; set; }

        public int RoleChildId { get; set; }

        [ForeignKey("RoleChildId")]
        public virtual TbRoleChild RoleChild { get; set; }

        public int LevelChildId { get; set; }

        [ForeignKey("LevelChildId")]
        public virtual TbLevelChild LevelChild { get; set; }

        public int SkillChildId { get; set; }

        [ForeignKey("SkillChildId")]
        public virtual TbSkillChild SkillChild { get; set; }

        public DateTime CreateOn { get; set; }

        public int CreateBy { get; set; }

        public DateTime? UpdateOn { get; set; }

        public int? UpdateBy { get; set; }

        [Timestamp]
        public byte[] TimeStamp { get; set; }

        public Guid Guid { get; set; }
    }
}